package com.yaorange.jk.service;

import com.yaorange.jk.entity.Factory;
import com.yaorange.jk.utils.Pagination;

import java.util.List;

public interface FactoryService {
Pagination findPage(Pagination pageNo);

    List<Factory> findAll();

    void save(Factory model);

    Factory findById(String id);

    void update(Factory model);

    void deleteById(String id);
    public List<Factory> findListByType(String type);
}
